package appapi.dto.bridge;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/18  17:43
 */
@Data
@ApiModel("场景数据导出")
public class SceneExportDto implements Serializable {
    /**
     *场景编号
     */
    @ApiModelProperty(value="场景编号")
    @Excel(name = "场景编号",orderNum = "0",width = 50)
    private String sceneNo;

    /**
     * 场景名称
     */
    @ApiModelProperty(value="场景名称")
    @Excel(name = "场景名称",orderNum = "0",width = 50)
    private String sceneName;

    /**
     * 所属项目名称
     */
    @ApiModelProperty(value="所属项目名称")
    @Excel(name = "所属项目名称",orderNum = "0",width = 50)
    private String projName;

//    /**
//     * 项目id
//     */
//    @ApiModelProperty(value="项目id")
//    private Long projId;

    /**
     * 场景介绍
     */
    @ApiModelProperty(value="场景介绍")
    @Excel(name = "场景介绍",orderNum = "0",width = 50)
    private String sceneSummary;


    /**
     * 场景类别
     */
    @ApiModelProperty(value="场景类别")
    @Excel(name = "场景类别",orderNum = "0",width = 50)
    private String sceneType;


    /**
     * 设备数量
     */
    @ApiModelProperty(value="设备数量")
    @Excel(name = "设备数量",orderNum = "0",width = 50)
    private Integer sceneCount;


    /**
     * 添加时间
     */
    @ApiModelProperty(value="添加时间")
    @Excel(name = "添加时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
